package com.gx.movie.consumer.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.gx.movie.hystrix.consumer.UserHystrix;

@FeignClient(value="point-user",fallback =UserHystrix.class)
public interface UserConsumerService {

	@GetMapping("restuser/add")
	public Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b);
}
